//
//  BaseTableViewCell.h
//  ocCrazy
//
//  Created by mac on 2018/6/20.
//  Copyright © 2018年 dukai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseModel.h"
#import "BaseProtocol.h"
@protocol TableViewCellDelegate <NSObject>



@end

@interface BaseTableViewCell : UITableViewCell

@property (nonatomic,assign) BOOL  noFrame;

@property (nonatomic,strong) id <BaseCellModelProtocol> model;

@property (nonatomic,weak) id <TableViewCellDelegate> delegate;
@property (nonatomic,strong) void(^cellEvent)(int key,...);
@property (nonatomic,strong) NSIndexPath * indexPath;

+ (CGFloat)cellHeight:(BaseModel *)model;

- (void)willLayoutSubViews;
@end
